package com.fingard.dsp.bank.directbank.cmb06.util;

import com.auth0.jwt.algorithms.Algorithm;
/**
 * @program: ybyy-policy->SMAlgorithm
 * @description:
 * @author: ex_lanyixin
 * @create: 2020-05-15 16:26
 **/
public abstract class SMAlgorithm extends Algorithm {
    public SMAlgorithm(String name, String description) {
        super(name, description);
    }
    public static Algorithm SM3withSM2(String description,String privateKey) throws IllegalArgumentException {
        return new SM3withSM2Algorithm(description, description, privateKey);
    }
}
